Functions Index :: M :: MakeRGBColor

[<< up one level]

Module:

clip :: core

Definition:

MakeRGBColor(int red, int green, int blue)

Description:

Returns an RGB color value, mapping appropriately the red, green, blue values (modulo 256).

Examples:

c1 = MakeRGBColor(0, 0, 0) # c1 == black

c2 = MakeRGBColor(255, 255, 255) # c2 == white

c3 = MakeRGBColor(0, 0, 255) # c3 == blue

c4 = MakeRGBColor(256, 256, 512) # c4 == black

 

[<< top]